<%@ page import="cn.wolfcode.domain.Student" %><%--
  Created by IntelliJ IDEA.
  User: 孙晓萌
  Date: 2021/8/17
  Time: 21:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
      Student student = (Student) request.getAttribute("student");
      request.setAttribute("student",student);
    %>
    <form action="/indexServlet">
        <input type="hidden" name="cmd" value="saveOrUpdate">
            <input name="id" type="hidden" value="${student.id}">
      账号：<input name="username" type="text" value="${student.username}">
      密码：<input name="password" type="text" value="${student.password}">
      <input type="submit" value="提交">
    </form>
</body>
</html>
